package decorator.v1;

public class BaseCalcFee implements CalcFee{
    @Override
    public Result cost(Param param) {
        System.out.println("BaseCalcFee 开始执行了..............");
        Result result = new Result();
        result.setResult(param.getNumber() + 1);
        System.out.println("BaseCalcFee 执行完成了..............");
        return result;
    }
}
